package com.pipe.protocol.events.table;

/**
 * @author Kiven
 */
public class TableMapEvent {
    private TableMapEventPostHeader header;
    private TableMapEventPayLoad payLoad;

    public TableMapEvent(TableMapEventPostHeader header, TableMapEventPayLoad payLoad) {
        this.header = header;
        this.payLoad = payLoad;
    }

    public TableMapEventPostHeader getHeader() {
        return header;
    }

    public TableMapEventPayLoad getPayLoad() {
        return payLoad;
    }

    @Override
    public String toString() {
        return "TableMapEvent{" +
                "header=" + header +
                ", payLoad=" + payLoad +
                '}';
    }
}